package com.propertyportal.manageproperty;

import java.util.ArrayList;
import java.util.List;

public class MenuSection {
	private String title;
	private List<SectionItem> sectionItems=new ArrayList<SectionItem>();
	
	public MenuSection(String title){
		this.title=title;
	}
	public void addSection(long id, String name, String icon){
		this.sectionItems.add(new SectionItem(id, name, icon));	
	}
/*	public void addAgentSection(long id, String name, String contact, String emailAddress){
		this.sectionItems.add(new SectionItem(id,contact,emailAddress));
	}*/
	public String getTitle(){
		return this.title;
	}
	public void setTitle(String title){
		this.title=title;
	}
	public List<SectionItem> getSectionItems() {
		return sectionItems;
	}
	public void setSectionItems(List<SectionItem> sectionItems) {
		this.sectionItems = sectionItems;
	}
	
}
